package cloud.xlh.digital_power_order.config.rabbitmq;

import cloud.xlh.infrastructure.mq.operate.BaseMQOperateParamIn;
import org.springframework.amqp.core.Message;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2023/10/12 10:55
 * @ Description:
 */
public class RabbitMQOperateParamIn extends BaseMQOperateParamIn {
    private String exchange;
    private String routingKey;
    private Message message;

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getRoutingKey() {
        return routingKey;
    }

    public void setRoutingKey(String routingKey) {
        this.routingKey = routingKey;
    }

    public Message getMessage() {
        return message;
    }

    public void setMessage(Message message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "RabbitMQOperateParamaIn{" +
                "exchange='" + exchange + '\'' +
                ", routingKey='" + routingKey + '\'' +
                ", message=" + message +
                '}';
    }
}
